package com.xian.minetomcat.simpledemo.day2.connector;

import com.sun.net.httpserver.Headers;

import java.io.IOException;
import java.net.URI;

/**
 * @author zhan
 * @version 2024/2/4
 */
public interface HttpExchangeRequest {
    String getRequestMethod();
    URI getRequestURI();

    Headers getRequestHeaders();

    byte[] getRequestBody() throws IOException;
}
